package com.lhd.entity.po;

import java.io.Serializable;

/**
 * @Author: liuhd
 * @Date: 2025/03/16
 * @Description: 学习通中的课程表
 */
public class Course implements Serializable {
	private Integer id;

	private String name;

	/**
	 * 封面
	 */
	private String avatar;

	/**
	 * 创建者id
	 */
	private Integer uid;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Override
	public String toString() {
		return "id : " + (id == null ? "空" : id) + ",name : " + (name == null ? "空" : name) + ",封面 : " + (avatar == null ? "空" : avatar) + ",创建者id : " + (uid == null ? "空" : uid) ;
	}
}